diff options
| author | Adam Soltys <[email protected]> | 2022-09-26 23:13:47 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-09-26 23:13:47 -0700 |
| commit | 577f74832a1122c16bb2c747eab5acc07dbc7410 (patch) | |
| tree | 74cd149c0a4a108a13a956cd66ed8e7c12f857f8 /src/routes/invoice/[id]/+layout.server.js | |
| parent | adf27ffe9f7ab061b72c6cc54ca49213aa5d27fe (diff) | |
| download | coinos-ui-577f74832a1122c16bb2c747eab5acc07dbc7410.tar.gz coinos-ui-577f74832a1122c16bb2c747eab5acc07dbc7410.zip | |
hide toast on payment received
Diffstat (limited to 'src/routes/invoice/[id]/+layout.server.js')
| -rw-r--r-- | src/routes/invoice/[id]/+layout.server.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/routes/invoice/[id]/+layout.server.js b/src/routes/invoice/[id]/+layout.server.js new file mode 100644 index 00000000..e123c7d7 --- /dev/null +++ b/src/routes/invoice/[id]/+layout.server.js @@ -0,0 +1,6 @@ +import { get } from '$lib/utils'; + +export async function load({ params }) { + let { id } = params; + return { id, invoice: await get(`/invoice?uuid=${id}`) }; +} |
